class Solution {
public:
    vector<int> twoSum(vector<int>& nums, int target) {
        for(int i=0; nums[i];i++){
			for(int j=i+1; nums[j];j++){
				if((nums[i] + nums[j]) == target){
					cout<<"["<<i<<","<<j<<"]";
					break;
				}
			}
		}
    }
};
